import VueRouter from 'vue-router'

import HomeContent from './compoents/home.vue'
import CartContent from './compoents/cart.vue'
import MemberContent from './compoents/member.vue'
import  SearchContent from './compoents/search.vue'


var router =new VueRouter({
    routes:[
        {path:'/',redirect:'/home'},
        {path:'/home',component:HomeContent},
        {path:'/member',component:MemberContent},
        {path:'/search',component:SearchContent},
        {path:'/cart',component:CartContent}
    ],
    linkActiveClass:'mui-active'

})
export default router
